package abcy.cloud.syscoreserver.exception;

public class InsertIntoDatabaseException  extends RuntimeException {
    private static final long serialVersionUID = 1L;
    private final int errorCode;

    public InsertIntoDatabaseException(int errorCode, String message) {
        super(message);
        this.errorCode = errorCode;
    }

    public int getErrorCode() {
        return errorCode;
    }
}
